package co.liyao.service.impl;

import co.liyao.mapper.BizTypeMapper;
import co.liyao.model.BizType;
import co.liyao.service.BizTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class BizTypeServiceImpl implements BizTypeService {

    @Autowired
    private BizTypeMapper typeMapper;

    @Override
    public List<BizType> findAll() {
        return typeMapper.selectAll();
    }
}
